package com.xc.quickstart.infrastructure.ds;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

@Data
@Configuration
@EnableConfigurationProperties
@ConfigurationProperties("config.mysql")
public class DataSourceProperties {
    List<DataSourceConfig> database;
}